# 关系运算符
# and && or || nor !
# a = 1
# b = 2
# c = 3
# print(a < b and b < c)
# print(a < b < c)
# 短路求值:左边算出来代表整体对了,就没有必要算右边了
# print(a or 1 / 0)  # 不会运行时错误
# #赋值运算符 = += -= /= %= ...
# c/=b
# print(c)
# c%=a
# print(c)
# 不支持前后置++-- 只能+=1 -=1
# 位运算 & << >> ~ ^...
c = 1
c <<= 1
print(c)
# python语句默认一行一句 也可以用;隔开,但不建议这样做
